<?php
namespace app\admin\controller;

use think\Controller;
use think\Db;
//电影排行榜
class Movierank extends Controller
{

    public function movieranks()
    {
//        return 'aaaaa';
        $list = Db::table('movierank')->select();

        return  view('index/movierank',[
            'title' => '电影排行榜',
            'list' => $list,
        ]);
    }

}